package train48days;
import java.util.Scanner;
public class 计算糖果 {
        public static void main(String[] args){
            Scanner in = new Scanner(System.in);
            int n1 = in.nextInt();
            int n2 = in.nextInt();
            int n3 = in.nextInt();
            int n4 = in.nextInt();
            int A = (n1+n3)/2;
            int B = (n2+n4)/2;
            int C = B-n2;
            if((n1+n3)%2==0&&(n2+n4)%2==0&&(A+B==n3)){
                System.out.println(A+" "+B+" "+C);
            }else{
                System.out.println("No");
            }
        }
    }
